package com.hxm.appGenealogy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("dynamic_photo")
public class Photo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String iamge;
    private Date time;
    private Double size;
    //private Long familyId;
    @TableField("iamge_ph")
    private Long imagePhId;
    //0照片1是视频;
    private Integer type;
}
